package org.odata.appengine.datastore;

import java.util.Properties;

import org.odata4j.edm.EdmDataServices;
import org.odata4j.producer.ODataProducer;
import org.odata4j.producer.ODataProducerFactory;

public class ProducerFactory implements ODataProducerFactory {
	
	private static final String NAMESPACE = "Datastore";

	@Override
	public ODataProducer create(Properties properties) {
		EdmDataServices metadata = new JDOMetadataBuilder().buildMetadata(NAMESPACE);
		return new Producer(metadata);
	}
}
